package com.cqie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 公告信息表
 * </p>
 *
 * @author 不吃海鲜
 * @since 2024-12-04
 */
@Getter
@Setter
@TableName("medical_publication")
@ApiModel(value = "MedicalPublication对象", description = "公告信息表")
public class MedicalPublication implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("公告id")
    @TableId(value = "publication_id" , type = IdType.AUTO)
    private Integer publicationId;

    @ApiModelProperty("公告标题")
    @TableField("publication_title")
    private String publicationTitle;

    @ApiModelProperty("公告内容")
    @TableField("publication_content")
    private String publicationContent;

    @ApiModelProperty("公告类型")
    @TableField("publication_type")
    private String publicationType;

    @ApiModelProperty("公告图片")
    @TableField("publication_photo")
    private String publicationPhoto;

    @ApiModelProperty("医生id")
    @TableField("doctor_id")
    private Integer doctorId;

    @ApiModelProperty("医生姓名")
    @TableField("doctor_name")
    private String doctorName;

    @ApiModelProperty("公告信息创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("公告信息更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty("作废标志")
    @TableField("rm_sign")
    private String rmSign;
}
